<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // x是函数的参数
        // 函数的参数是局部变量
        function show(x){
            console.log(x)
        }
        console.log(x)  // x is not defined
        show(3);
    </script>
</body>
</html>